<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="Content-Type" content="multipart/form-data; charset=utf-8" />
    <title>修改密码</title>
    <link th:href="@{/webjars/jquery.3.4.1/jquery.js}" rel="stylesheet">
    <link th:href="@{/webjars/bootstrap/4.3.1/css/bootstrap.css}" rel="stylesheet">
    <link href="https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.css" rel="stylesheet">
    <link th:href="@{/css/settings.css}" rel="stylesheet" />
    <link th:href="@{/css/head.css}" rel="stylesheet" />
    <link th:href="@{/css/foot.css}" rel="stylesheet" />
    <link th:href="@{/css/setting.css}" rel="stylesheet" />
    <link href="//cdn.bootcss.com/toastr.js/latest/css/toastr.min.css" rel="stylesheet">

</head>

<body>
    <!--引入导航栏-->
    <div th:include="/common/head :: top"></div>

    <div style="clear: both;"></div>
    <!-- 修改个人信息 -->
        <div class="container">
            <div class="row">
                <div class="col-lg-4">
                    <div class="form-group categoryForm">

                        <form th:action="@{'/settings/password'}" method="post">

                            <p style="color: red;font-size: 16px;" th:text="${msg}" th:if="${not #strings.isEmpty(msg)}"></p>
                            <p style="color: blue;font-size: 16px;" th:text="${msg1}" th:if="${not #strings.isEmpty(msg1)}"></p>

                            <label>旧密码：</label>
                            <input class="form-control" type="password" id="oldPassword" name="oldPassword"><br><br>

                            <label>新密码：</label>
                            <input class="form-control" type="password" id="newPassword" name="newPassword"><br><br>

                            <label>再输入一次：</label>
                            <input class="form-control" type="password" id="newPassword1" name="newPassword1"><br><br>

                            <!--<hr style="border-bottom: 3px rgb(231, 231, 231) solid;"/>-->
                            <div style="text-align: center;">
                                <button class="btn btn-outline-dark" type="submit" id="updateBtn">修改</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div><br><br><br><br><br>


    <!--引入底部栏-->
    <div th:include="/common/foot :: foot"></div>
</body>
    <script th:src="@{/js/myJs/settings.js}"></script>
    <script th:src="@{/js/bootstrap.min.js}"></script>
    <script th:src="@{/js/jquery.min.js}"></script>
    <script th:src="@{/bootstrap/js/bootstrap.js}"></script>
    <script th:src="@{/toastr/toastr.min.js}"></script>

</html>